<%@page import="com.elink.enginerring.common.Constant"%>
<%@page import="com.elink.enginerring.user.entity.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>欢迎登录</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <link href="resources/css/login.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="resources/js/framejs/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="resources/js/login.js"></script>
    <script type="text/javascript">
    	$(function(){
    		var index=Math.floor(Math.random()*5);
    		$("html body").css("background-image","url('resources/images/login_bg"+index+".jpg')");
    	});
    </script>
</head>
<body>
	<%
		User user=(User)request.getSession().getAttribute(Constant.su_in_session);
		if(user!=null){
			response.sendRedirect(request.getContextPath()+"/index.htm");
		} 
	%>
	<div class="lg_title">
		<p class="title_zh">《工程界》后台管理系统</p>
		<p class="title_en">ENGINERRING CIRCLE MANAGEMENT SYSTEM</p>	
	</div>
	<div class="lg_box">
		<input class="u1" type="text" name="username"/>
		<input class="u2" type="password" name="password"/>
		<div id="name_info"></div>
		<div id="pwd_info"></div>
		<div class="u3">
			<span class="u4">登&nbsp;&nbsp;录</span>
		</div>
		<span class="txt_name">用户名</span>
		<span class="txt_pwd">密&nbsp;&nbsp;&nbsp;码</span>
		<div class="msg"></div>
	</div>
</body>